
public class fulijisuan {
	public static void main(String[] args) {
		Double x = 300.0;
		Double y = 0.0;
		java.text.DecimalFormat df = new java.text.DecimalFormat("#.00");
		Integer integer = 365;
		for (int i = 1; i < integer; i++) {
			y = x * 1.02;
			String string = "第" + i + "天：" + df.format(x) + "*1.02=" + df.format(y);
			// string = df.format(y);
			System.out.println(string);
			x = y;
		}
	}
}
